package exception;

import utils.ResponseCode;

public class ProductException extends Exception{
    private ResponseCode responseCode;
    public ResponseCode getResponseCode(){return responseCode;}

    public ProductException(ResponseCode error){
        super(error.getDesc());
        this.responseCode=error;
    }
}
